-
Notifications
You must be signed in to change notification settings - Fork 133
8348402: PerfDataManager stalls shutdown for 1ms #2058
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back goetz! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
This backport pull request has now been updated with issue from the original commit. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The backport itself looks good.
But I have a small doubt we should do it for JDK 21. Catching the critical section for FutileWakeups increment might be not worth it. In mainline, we have deleted these after replacing these PerfData events with related JFR events (https://bugs.openjdk.org/browse/JDK-8348829).
But it is a minor risk, so I would not be against it as well.
OK, I can set it aside for now and pick it up again if there is an additional trigger to backport it. |
I am not blocking this, just giving a perspective :) (+): The positive impact on small applications is noticeable. We have argued about the negative impact back when it was done in mainline, and reasoned it is minor at worst. The synchronization is on So on balance, we can take it into JDK 21. Let's not do any prior releases, though. |
I backport this for parity with 21.0.9-oracle.
src/hotspot/share/runtime/objectMonitor.cpp
Resolved as comments in context are different.
src/hotspot/share/runtime/perfData.hpp
Copyright
src/hotspot/share/runtime/synchronizer.cpp
Resolved #include.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/2058/head:pull/2058
$ git checkout pull/2058
Update a local copy of the PR:
$ git checkout pull/2058
$ git pull https://git.openjdk.org/jdk21u-dev.git pull/2058/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2058
View PR using the GUI difftool:
$ git pr show -t 2058
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/2058.diff
Using Webrev
Link to Webrev Comment